package com.woniu.mapper;

import com.woniu.entity.Menu;
import com.woniu.vo.MenuVo;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface MenuMapper extends Mapper<Menu> {


    List<MenuVo> selectMenuByAccountName(String accountName) throws Exception;

    List<String> selectMenuPermissionByAccountName(String accountName) throws Exception;

    List<MenuVo> selectAllPermission() throws Exception;
}